package com.jiangxiaofei.citycloud.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/9/13 0013.
 */

public class MapWorkerBean implements Parcelable {

    /**
     * introduce :  啊啊啊
     * lat : 36.105411
     * log : 120.380527
     * userid : 8
     */

    private String introduce;
    private String lat;
    private String log;
    private String userid;

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.introduce);
        dest.writeString(this.lat);
        dest.writeString(this.log);
        dest.writeString(this.userid);
    }

    public MapWorkerBean() {
    }

    protected MapWorkerBean(Parcel in) {
        this.introduce = in.readString();
        this.lat = in.readString();
        this.log = in.readString();
        this.userid = in.readString();
    }

    public static final Parcelable.Creator<MapWorkerBean> CREATOR = new Parcelable.Creator<MapWorkerBean>() {
        @Override
        public MapWorkerBean createFromParcel(Parcel source) {
            return new MapWorkerBean(source);
        }

        @Override
        public MapWorkerBean[] newArray(int size) {
            return new MapWorkerBean[size];
        }
    };
}
